package com.cloudfast.platform.user.entity;

import com.cloudfast.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;

@SuppressWarnings("serial")
@Entity
@Getter
@Setter
@Table(name = "sys_user_role")
public class UserRole extends BaseEntity {
    @Id
    @Column(name = "id", columnDefinition = " varchar(200)  COMMENT '主键'")
    private String id;

    private Long userId;

    private Long roleId;
}
